package com.lxmes.device.domain;

import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备故障维修单对象 device_failure_repair
 * 
 * @author 张志煜
 * @date 2022-04-20
 */
@ApiModel(value = "DeviceFailureRepair", description = "设备故障维修单")
public class DeviceFailureRepair extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 维修单号 */
    @Excel(name = "维修单号")
    @ApiModelProperty("维修单号")
    private String repairId;

    /** 报修单号 */
    @Excel(name = "报修单号")
    @ApiModelProperty("报修单号")
    private String reportId;
    /** 设备编码 */
    @Excel(name = "设备编码")
    @ApiModelProperty("设备编码")
    private String deviceCode;
    /** 处理进度 */
    @Excel(name = "处理进度")
    @ApiModelProperty("处理进度")
    private String faultProgress;

    /** 设备名称 */
    @Excel(name = "设备名称")
    @ApiModelProperty("设备名称")
    private String deviceName;


    /** 开始时间 */
    @Excel(name = "开始时间")
    @ApiModelProperty("开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    @ApiModelProperty("结束时间")
    private String endTime;
    /** 结束时间 */
    @Excel(name = "维修用时")
    @ApiModelProperty("维修用时")
    private String repairTimeuse;

    /** 维修费用 */
    @Excel(name = "维修费用")
    @ApiModelProperty("维修费用")
    private String repairCosts;

    /** 是否停机 */
    @Excel(name = "是否停机")
    @ApiModelProperty("是否停机")
    private String isShutdown;

    /** 停机时长 */
    @Excel(name = "停机时长")
    @ApiModelProperty("停机时长")
    private String shutdownDuration;

    /** 是否更换配件 */
    @Excel(name = "是否更换配件")
    @ApiModelProperty("是否更换配件")
    private String isGhpj;

    /** 工作描述 */
    @Excel(name = "工作描述")
    @ApiModelProperty("工作描述")
    private String repairDescription;

    /** 维修图片 */
    @Excel(name = "维修图片")
    @ApiModelProperty("维修图片")
    private String repairImg;

    /** 维修班组 */
    @Excel(name = "维修班组")
    @ApiModelProperty("维修班组")
    private String repairDept;

    /** 维修状态 */
    @Excel(name = "维修状态")
    @ApiModelProperty("维修状态")
    private String repairState;

    /** 设备部位 */
    @Excel(name = "设备部位")
    @ApiModelProperty("设备部位")
    private String deviceBw;

    /** 故障原因 */
    @Excel(name = "故障原因")
    @ApiModelProperty("故障原因")
    private String failureCause;

    /** 故障类别 */
    @Excel(name = "故障类别")
    @ApiModelProperty("故障类别")
    private String faultType;

    /** 维修级别 */
    @Excel(name = "维修级别")
    @ApiModelProperty("故障类别")
    private String repairLevel;

    /** 维修类别 */
    @Excel(name = "维修类别")
    @ApiModelProperty("维修类别")
    private String repairType;

    /** 所属组织 */
    private Long deptId;

    /** 用户Id */
    private Long userId;

    /** 主修人 */
    @Excel(name = "主修人")
    @ApiModelProperty("主修人")
    private String major;

    /** 辅助维修人 */
    @Excel(name = "辅助维修人")
    @ApiModelProperty("辅助维修人")
    private String fzMajors;
    @ApiModelProperty("是否确认0-未确认 1-确认")
    private String isConfirm;
    @ApiModelProperty("故障确认图片")
    private String confirmImg;
    @ApiModelProperty("故障确认时间")
    private String confirmTime;
    /** 主修人id */
    private Long majorId;

    /** 辅助维修人id */
    private String fzMajorIds;
    private DeviceFailureReport report;
    private String queryParams;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRepairId(String repairId) 
    {
        this.repairId = repairId;
    }

    public String getRepairId() 
    {
        return repairId;
    }
    public void setReportId(String reportId) 
    {
        this.reportId = reportId;
    }

    public String getReportId() 
    {
        return reportId;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setRepairCosts(String repairCosts) 
    {
        this.repairCosts = repairCosts;
    }

    public String getRepairCosts() 
    {
        return repairCosts;
    }
    public void setIsShutdown(String isShutdown) 
    {
        this.isShutdown = isShutdown;
    }

    public String getIsShutdown() 
    {
        return isShutdown;
    }
    public void setShutdownDuration(String shutdownDuration) 
    {
        this.shutdownDuration = shutdownDuration;
    }

    public String getShutdownDuration() 
    {
        return shutdownDuration;
    }
    public void setIsGhpj(String isGhpj) 
    {
        this.isGhpj = isGhpj;
    }

    public String getIsGhpj() 
    {
        return isGhpj;
    }
    public void setRepairDescription(String repairDescription) 
    {
        this.repairDescription = repairDescription;
    }

    public String getRepairDescription() 
    {
        return repairDescription;
    }
    public void setRepairImg(String repairImg) 
    {
        this.repairImg = repairImg;
    }

    public String getRepairImg() 
    {
        return repairImg;
    }
    public void setRepairDept(String repairDept) 
    {
        this.repairDept = repairDept;
    }

    public String getRepairDept() 
    {
        return repairDept;
    }
    public void setRepairState(String repairState) 
    {
        this.repairState = repairState;
    }

    public String getRepairState() 
    {
        return repairState;
    }
    public void setDeviceBw(String deviceBw) 
    {
        this.deviceBw = deviceBw;
    }

    public String getDeviceBw() 
    {
        return deviceBw;
    }
    public void setFailureCause(String failureCause) 
    {
        this.failureCause = failureCause;
    }

    public String getFailureCause() 
    {
        return failureCause;
    }
    public void setFaultType(String faultType) 
    {
        this.faultType = faultType;
    }

    public String getFaultType() 
    {
        return faultType;
    }
    public void setRepairLevel(String repairLevel) 
    {
        this.repairLevel = repairLevel;
    }

    public String getRepairLevel() 
    {
        return repairLevel;
    }
    public void setRepairType(String repairType) 
    {
        this.repairType = repairType;
    }

    public String getRepairType() 
    {
        return repairType;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setFzMajors(String fzMajors) 
    {
        this.fzMajors = fzMajors;
    }

    public String getFzMajors() 
    {
        return fzMajors;
    }
    public void setMajorId(Long majorId) 
    {
        this.majorId = majorId;
    }

    public Long getMajorId() 
    {
        return majorId;
    }
    public void setFzMajorIds(String fzMajorIds) 
    {
        this.fzMajorIds = fzMajorIds;
    }

    public String getFzMajorIds() 
    {
        return fzMajorIds;
    }

    public String getRepairTimeuse() {
        return repairTimeuse;
    }

    public void setRepairTimeuse(String repairTimeuse) {
        this.repairTimeuse = repairTimeuse;
    }

    public DeviceFailureReport getReport() {
        return report;
    }

    public void setReport(DeviceFailureReport report) {
        this.report = report;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getFaultProgress() {
        return faultProgress;
    }

    public void setFaultProgress(String faultProgress) {
        this.faultProgress = faultProgress;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getIsConfirm() {
        return isConfirm;
    }

    public void setIsConfirm(String isConfirm) {
        this.isConfirm = isConfirm;
    }

    public String getConfirmImg() {
        return confirmImg;
    }

    public void setConfirmImg(String confirmImg) {
        this.confirmImg = confirmImg;
    }

    public String getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(String confirmTime) {
        this.confirmTime = confirmTime;
    }

    public String getQueryParams() {
        return queryParams;
    }

    public void setQueryParams(String queryParams) {
        this.queryParams = queryParams;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("repairId", getRepairId())
            .append("reportId", getReportId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("repairCosts", getRepairCosts())
            .append("isShutdown", getIsShutdown())
            .append("shutdownDuration", getShutdownDuration())
            .append("isGhpj", getIsGhpj())
            .append("repairDescription", getRepairDescription())
            .append("repairImg", getRepairImg())
            .append("repairDept", getRepairDept())
            .append("repairState", getRepairState())
            .append("deviceBw", getDeviceBw())
            .append("failureCause", getFailureCause())
            .append("faultType", getFaultType())
            .append("repairLevel", getRepairLevel())
            .append("repairType", getRepairType())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("major", getMajor())
            .append("fzMajors", getFzMajors())
            .append("majorId", getMajorId())
            .append("fzMajorIds", getFzMajorIds())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
